home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / srcuc.zip / SCHEME.H < prev    next >
C/C++ Source or Header  |  1990-11-27  |  4KB  |  101 lines

  1. /* -*-C-*-
  2.  
  3. $Header: scheme.h,v 9.34 90/11/27 19:15:21 GMT cph Exp $
  4.  
  5. Copyright (c) 1987, 1988, 1989, 1990 Massachusetts Institute of Technology
  6.  
  7. This material was developed by the Scheme project at the Massachusetts
  8. Institute of Technology, Department of Electrical Engineering and
  9. Computer Science.  Permission to copy this software, to redistribute
  10. it, and to use it for any purpose is granted, subject to the following
  11. restrictions and understandings.
  12.  
  13. 1. Any copy made of this software must include this copyright notice
  14. in full.
  15.  
  16. 2. Users of this software agree to make their best efforts (a) to
  17. return to the MIT Scheme project any improvements or extensions that
  18. they make, so that these may be included in future releases; and (b)
  19. to inform MIT of noteworthy uses of this software.
  20.  
  21. 3. All materials developed as a consequence of the use of this
  22. software shall duly acknowledge such use, in accordance with the usual
  23. standards of acknowledging credit in academic research.
  24.  
  25. 4. MIT has made no warrantee or representation that the operation of
  26. this software will be error-free, and MIT is under no obligation to
  27. provide any services, by way of maintenance, update, or otherwise.
  28.  
  29. 5. In conjunction with products arising from the use of this material,
  30. there shall be no use of the name of the Massachusetts Institute of
  31. Technology nor of any adaptation thereof in any advertising,
  32. promotional, or sales literature without prior written consent from
  33. MIT in each case. */
  34.  
  35. /* General declarations for the SCode interpreter.  This
  36.    file is INCLUDED by others and contains declarations only. */
  37.  
  38. /* Certain debuggers cannot really deal with variables in registers.
  39.    When debugging, NO_REGISTERS can be defined. */
  40.  
  41. #ifdef NO_REGISTERS
  42. #define fast
  43. #else
  44. #define fast            register
  45. #endif
  46.  
  47. #ifdef ENABLE_DEBUGGING_TOOLS
  48. #define Consistency_Check    true
  49. #define ENABLE_PRIMITIVE_PROFILING
  50. #else
  51. #define Consistency_Check    false
  52. #ifdef ENABLE_PRIMITIVE_PROFILING
  53. #undef ENABLE_PRIMITIVE_PROFILING
  54. #endif
  55. #endif
  56.  
  57. #ifdef COMPILE_STEPPER
  58. #define Microcode_Does_Stepping    true
  59. #else
  60. #define Microcode_Does_Stepping    false
  61. #endif
  62.  
  63. #define forward        extern    /* For forward references */
  64.  
  65. #include <stdio.h>
  66.  
  67. #include "oscond.h"    /* Identify the operating system */
  68. #include "ansidecl.h"    /* Macros to support ANSI declarations */
  69. #include "dstack.h"    /* Dynamic stack support package */
  70. #include "obstack.h"    /* Obstack package */
  71. #include "config.h"    /* Machine and OS configuration info */
  72. #include "types.h"    /* Type code numbers */
  73. #include "const.h"    /* Various named constants */
  74. #include "object.h"    /* Scheme object representation */
  75. #include "intrpt.h"    /* Interrupt processing macros */
  76. #include "critsec.h"    /* Critical sections */
  77. #include "gc.h"        /* Memory management related macros */
  78. #include "scode.h"    /* Scheme scode representation */
  79. #include "sdata.h"    /* Scheme user data representation */
  80. #include "futures.h"    /* Support macros, etc. for FUTURE */
  81. #include "errors.h"    /* Error code numbers */
  82. #include "returns.h"    /* Return code numbers */
  83. #include "fixobj.h"    /* Format of fixed objects vector */
  84. #include "stack.h"    /* Macros for stack (stacklet) manipulation */
  85. #include "interp.h"    /* Macros for interpreter */
  86.  
  87. #ifdef butterfly
  88. #include "butterfly.h"
  89. #endif
  90.  
  91. #include "bkpt.h"    /* Shadows some defaults */
  92. #include "default.h"    /* Defaults for various hooks. */
  93. #include "extern.h"    /* External declarations */
  94. #include "bignum.h"    /* Bignum declarations */
  95. #include "prim.h"    /* Declarations for primitives. */
  96. #include "float.h"    /* Floating-point parameters */
  97. #if (FLT_RADIX != 2)
  98. #include "error: floating point radix not 2!  Arithmetic won't work."
  99. #endif
  100.  
  101.